//
// Created by wkm on 2024-03-31.
//

#ifndef CHIPBUS_DIRECT_IF_H
#define CHIPBUS_DIRECT_IF_H

#include "systemc.h"
#include "types.h"

class direct_if : public virtual sc_interface {
public:
    // 直接 BUS/Slave interface
    virtual bool direct_read(int *data, unsigned int address) = 0;

    virtual bool direct_write(int *data, unsigned int address) = 0;
};

#endif //CHIPBUS_DIRECT_IF_H
